
{extend name="layout/base"}
{block name="title"}用户信息调整{/block}
{block name="css"}
<link href="__admin_static__/css/plugins/iCheck/custom.css" rel="stylesheet">
{/block}
{block name="head_js"}{/block}
{block name="body"}
<style>
    div.modal-backdrop.in{
        display: none !important;
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">

    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>用户信息调整 <small>您可以修改一个用户的基本信息。</small></h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form method="post" class="form-horizontal" action="{:url('UserInfo/update')}" target="_self" ">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">用户名字</label>

                            <div class="col-sm-10">
                                <input type="text" class="form-control" name="name" placeholder="{$info.name}">
                                <span class="help-block m-b-none">选填)：请输入1-100个字(中文,英文)</span>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">联系方式</label>

                            <div class="col-sm-10">
                                <input type="textarea" row="3" class="form-control" name="phone" placeholder="{$info.phone}">
                                <span class="help-block m-b-none">选填)：请输入手机号码，座机，传真等(数字)</span>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">公司名</label>

                            <div class="col-sm-10">
                                <input type="textarea" row="3" class="form-control" name="company" placeholder="{$info.company}">
                                <span class="help-block m-b-none">选填)：请输入1-100个字符(中文，英文)</span>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">备注</label>
                            <div class="col-sm-10">
                                <!--<input type="text" class="form-control" name="sort"   placeholder="">-->
                                <textarea id="ccomment" name="comment" placeholder="{$info.remark}" class="form-control" required="" aria-required="true"></textarea>
                                <span class="help-block m-b-none">选填)：您可以对该用户进行相关备注，如(需求是什么,有和特别要求等)</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <input type="hidden" name="id" value="{$info.id}">
                                <button class="btn btn-primary" type="submit">立即调整</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="__admin_static__/js/jquery.min.js?v=2.1.4"></script>
<script src="__admin_static__/js/bootstrap.min.js?v=3.3.5"></script>
<script src="__admin_static__/js/content.min.js?v=1.0.0"></script>
<script src="__admin_static__/js/plugins/iCheck/icheck.min.js"></script>
<script src="__admin_static__/js/base.js"></script>
<script>
    $(document).ready(function() {
        $(".i-checks").iCheck({checkboxClass: "icheckbox_square-green", radioClass: "iradio_square-green",});
    });
</script>
</body>
{/block}
